package com.guohengspace.mq.model.query;

import lombok.Data;

/**
 * 保存实例参数
 */
//@Data
public class InstanceSaveParam {

    /**
     * 指定实例创建于哪个集群
     */
    private String cluster;

    /**
     * 实例名称
     */
    private String instanceName;

    /**
     * 是否有命名空间
     */
    private Boolean independentNaming;

    /**
     * 备注
     */
    private String remark;

    /**
     * 单个实例的消息发送TPS上限
     */
    private Long maxSendTps;

    /**
     * 单个实例的消息消费TPS上限
     */
    private Long maxReceiveTps;

    /**
     * 单个实例允许创建的Topic数量上限
     */
    private Integer topicCapacity;

    public String getCluster() {
        return cluster;
    }

    public void setCluster(String cluster) {
        this.cluster = cluster;
    }

    public String getInstanceName() {
        return instanceName;
    }

    public void setInstanceName(String instanceName) {
        this.instanceName = instanceName;
    }

    public Boolean getIndependentNaming() {
        return independentNaming;
    }

    public void setIndependentNaming(Boolean independentNaming) {
        this.independentNaming = independentNaming;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Long getMaxSendTps() {
        return maxSendTps;
    }

    public void setMaxSendTps(Long maxSendTps) {
        this.maxSendTps = maxSendTps;
    }

    public Long getMaxReceiveTps() {
        return maxReceiveTps;
    }

    public void setMaxReceiveTps(Long maxReceiveTps) {
        this.maxReceiveTps = maxReceiveTps;
    }

    public Integer getTopicCapacity() {
        return topicCapacity;
    }

    public void setTopicCapacity(Integer topicCapacity) {
        this.topicCapacity = topicCapacity;
    }
}
